package net.betou.cms.dao.assist;

import java.util.List;

import net.betou.cms.entity.assist.CmsAdvertising;
import net.betou.common.hibernate3.Updater;
import net.betou.common.page.Pagination;

public interface CmsAdvertisingDao{
	public Pagination getPage( Integer siteId, Integer adspaceId, Boolean enabled, int pageNo, int pageSize );

	public List< CmsAdvertising > getList( Integer adspaceId, Boolean enabled );

	public CmsAdvertising findById( Integer id );

	public CmsAdvertising save( CmsAdvertising bean );

	public CmsAdvertising updateByUpdater( Updater< CmsAdvertising > updater );

	public CmsAdvertising deleteById( Integer id );
}